//
//  EventSettingController.m
//  InformationFoot
//
//  Created by 魔曦 on 2018/7/13.
//  Copyright © 2018年 MacBook. All rights reserved.
//

#import "EventSettingController.h"

@interface EventSettingController ()

@end

@implementation EventSettingController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    UIButton * rightButton = [UIButton buttonWithType:(UIButtonTypeCustom)];
    rightButton.frame = CGRectMake(0, 0, 25, 25);
//    [rightButton setImage:[UIImage imageNamed:@"saishi_peilv"] forState:(UIControlStateNormal)];
    [rightButton setTitle:@"完成" forState:UIControlStateNormal];
    [rightButton addTarget:self action:@selector(returnClick) forControlEvents:(UIControlEventTouchDown)];
        self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc]initWithCustomView:rightButton] ;
    
}
- (void)returnClick{
    [self.navigationController popViewControllerAnimated:YES];
}

@end
